<extend name="common:commonNewerTemplate"/>
<block name="main_content">
    <style>
        .select2-container {  width: 25% !important; }
    </style>
    <div id="content">
        <div id="content-header">
            <div id="breadcrumb">
                <a class="tip-bottom" href="index.html"
                   data-original-title="Go to Home"><i class="icon-home"></i> 首页</a> <a
                    href="#">客户</a> <a class="current" href="#">客户地址详情</a>
            </div>
        </div>
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span12">
                    <div class="widget-box">
                        <div class="widget-title">
						<span class="icon"> <i class="icon-info-sign"></i>
						</span>
                            <h5>客户地址</h5>
                        </div>
                        <div class="widget-content nopadding">
                            <form novalidate="novalidate" id="basic_validate"
                                  name="basic_validate" action="#" method="post"
                                  class="form-horizontal">
                                <div class="control-group">
                                    <label class="control-label">收货人姓名<span class="required-tips">*</span></label>
                                    <div class="controls">
                                       <input type="hidden" id="dealer_channel" name="dealer_channel" value="{$dealer_channel}">
                                        <input type="hidden" name="address_id" value="{$address.address_id}">
                                        <input type="hidden" name="user_id" value="{$address.user_id}">
                                        <input type="text" name="consignee_name" value="{$address.consignee_name}"/>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label">收货人ID<span class="required-tips">*</span></label>
                                    <div class="controls">
                                        <input type="text" id="address_user_id" name="user_id" value="{$address.user_id}"/>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label">收货人手机<span class="required-tips">*</span></label>
                                    <div class="controls">
                                        <input type="text" name="consignee_cellphone" value="{$address.consignee_cellphone}"/>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label">收货人电话</label>
                                    <div class="controls">
                                        <input type="text" name="consignee_tel" value="{$address.consignee_tel}"/>
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label">省市区</label>
                                    <input type="hidden" id="temp_province" value="{$address.consignee_province_id}">
                                    <input type="hidden" id="temp_city" value="{$address.consignee_city_id}"> 
                                    <input type="hidden" id="temp_district" value="{$address.consignee_district_id}">

                                    <div class="controls">
                                        <select id="ssl_province" style="width:280px" name="consignee_province_id">
                                        </select>
										<br/>

                                        <select id="ssl_city" style="width:280px" name="consignee_city_id">
                                        </select>
										<br/>
                                        <select id="ssl_district" style="width:280px" name="consignee_district_id">
                                        </select>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label">收货人邮编</label>
                                    <div class="controls">
                                        <input type="text" name="consignee_zip" value="{$address.consignee_zip}">
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label">收货人地址<span class="required-tips">*</span></label>
                                    <div class="controls">
                                        <input type="text" name="consignee_address" value="{$address.consignee_address}" style="width: 90%;">
                                    </div>
                                </div>


                                <div class="control-group">
                                    <a id="btn_addAddress" class="btn btn-success">{$operate_name}</a>
                                    
                                      <a id="goToOrderCart" class="btn btn-success">继续下单</a>
                                </div>
                                
                                <div class="control-group">
                                  
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</block>
<block name="js_content">
    <script src="/Public/js/laydate/laydate.js"></script>
    <script src="/Public/js/project/common.js?v=12"></script>
    <script src="/Public/js/address.js?v=22"></script>

    
</block>